package com.xtkj.superclub_information.config;

import com.xtkj.commons.SnowflakeIdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author lizheqi
 * @create 2019-12-27-10:19
 */
@Configuration
public class WebConfig {

    @Bean
    public SnowflakeIdWorker getSnowflakeIdWorker(){
        return new SnowflakeIdWorker(0,0);
    }
}
